package com.qf.sportsevent.util;

import okhttp3.Callback;
import okhttp3.OkHttpClient;
import okhttp3.Request;

/**
 * Created by Administrator on 2016/12/16.
 */

public class HttpUtils {
    public static void okHttpAsyncGet(String url, Callback requestCallback){
        OkHttpClient client=new OkHttpClient();
        Request request=new Request.Builder().url(url).build();
        client.newCall(request).enqueue(requestCallback);
    }
}
